package my.test;

import java.util.Arrays;

public class Area {

    private Integer id;
    private String name;
    private Integer parent_id;
    private int type;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getParent_id() {
        return parent_id;
    }

    public void setParent_id(Integer parent_id) {
        this.parent_id = parent_id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Area{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", parent_id=" + parent_id +
                ", type=" + type +
                '}';
    }

    public static void main(String[] args) {

        System.out.println(Arrays.asList("a,b,c,d".split(",")).contains("a"));
    }
}
